package org.microservice.system.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.microservice.common.entity.SysLog;
import org.microservice.system.dao.SysLogDao;
import org.microservice.system.service.SysLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 * User: 齐丹枫
 * Date: 2018/7/23
 * Time: 13:05
 * To change this template use File | Settings | File Templates.
 * Description:
 */
@Service
public class SysLogServiceImpl extends ServiceImpl<SysLogDao,SysLog> implements SysLogService {

    @Autowired
    private SysLogDao sysLogDao;

    @Override
    public List<SysLog> getLogListPage(Map<String, String> params) {
        return sysLogDao.getLogListPage(params);
    }

    @Override
    public int getLogListPageTotal(Map<String, String> params) {
        return sysLogDao.getLogListPageTotal(params);
    }
}
